package com.demo.webflux.simple5;

import com.ziroom.common.simple.domain.Student;

import feign.Headers;
import feign.Param;
import feign.RequestLine;
import reactor.core.publisher.Flux;

@Headers({ "Accept: application/json", "Content-Type: application/json" })
public interface FeignClientService {

	@RequestLine("POST /sen/{aa}/{bb}")
	@Headers({ "token: ${token}", "auth: ${auth}" })
	public Flux<Student> slow(Student st, @Param("token") String token, @Param("auth") String auth, @Param("aa") String aa, @Param("bb") String bb);

}
